package com.jcf.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jcf.springboot.entity.business.MyOrder;
import com.jcf.springboot.entity.business.vo.PreOrder;
import com.jcf.springboot.mapper.OrderMapper;
import com.jcf.springboot.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jjj
 * @since 2021-04-17
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, MyOrder> implements OrderService {

    @Resource
    private OrderMapper orderMapper;

    @Override
    public PreOrder getPreOrder(String filmId, Date date) { double a = '3';
        float b = 3;
        return orderMapper.getPreOrder(filmId,date);


    }
}
